package cn.remex.wechat.event;

/**
 * @author CaoRuifeng
 * @create 2017/8/8
 **/
public class WeChatImageEvent extends WeChatEventBase {
    private static final long serialVersionUID = 1856737131248344181L;
    private String fromUserName;
    private String image;
    private long createTime;
    private String msgId;
    private String mediaId;

    public WeChatImageEvent(String source, String appKey, String appid, String agentid, String fromUserName, String image, long createTime, String msgId,String mediaId) {
        super(source, appKey, appid, agentid);
        this.fromUserName = fromUserName;
        this.image = image;
        this.createTime = createTime;
        this.msgId = msgId;
        this.mediaId = mediaId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }
}
